package com.yanqu.road.server.manger;

import com.yanqu.road.entity.servergroup.ICrossServerGroup;

import java.util.Set;

public interface ICrossServerGroupAccess {

    int getGroupIdByServerId(long serverId);

    default ICrossServerGroup getServerGroup(int groupId){
        return null;
    }

    default ICrossServerGroup getServerGroupByServerId(long serverId){
        return null;
    }

    Set<Long> getGroupServer(int groupId);

    void reloadServerGroup();
}
